///////////////////////////////////////////////////////////
//  ITranslator.as
//  Actionscript 3.0 implementation of Interface ITranslator
//  owner: http://www.imanit.com/
//  resource page: http://www.scuge.com/ 
//  For Game Architecture or Flash Team Management Consulting contact iman@imanit.com
//  This code is without warranty and is to be used at your own risk.
//  Created on:      06-Dec-2009 5:02:46 PM
//  Original author: iMAN
///////////////////////////////////////////////////////////

package org.gof.stream
{
	import org.gof.state.BaseGameState;
	import org.gof.display.IGODisplayPosition;
	import org.gof.state.IGOStatePosition;

	/**
	 * translates between a state position and a display object position.
	 * @author iMAN
	 * @version 1.0
	 * @created 06-Dec-2009 5:02:46 PM
	 */
	public interface ITranslator
	{
		/**
		 * 
		 * @param gameState
		 */
		function set gameStateRef(gameState: BaseGameState): void;

		/**
		 * converts a game state position to a display position.
		 * 
		 * @param statePosition
		 */
		function translate(statePosition:IGOStatePosition): IGODisplayPosition;
	}//end ITranslator

}